#DayDayUpQ3.py
dayup=1.0
dayfactor=0.01
for i in range(365):
    if i %7 in[6,0]:
        dayup=dayup*(1-dayfactor)      #一年365天，一周5个工作日，每天进步1%
    else:
        dayup=dayup*(1+dayfactor)      #一年365天，一周2个休息日，每天退步1%
print("dayup:{:.2f}".format(dayup))
